d130c4863bc3c0df4ec407a29e7f19fa3711d806,staging/maven-plugin/src/main/java/org/sonatype/nexus/maven/staging/deploy/strategy/StagingDeployStrategy.java,StagingDeployStrategy,finalizeDeploy,#FinalizeDeployRequest#,96

Before Change


        throw new ArtifactDeploymentException("Remote staging failed: " + e.getMessage(), e);
      }
      catch (NexusClientAccessForbiddenException e) {
        afterUploadFailure(parameters, zappedStagingRepositories, e);
        getLogger().error("Remote staging finished with a failure: " + e.getMessage());
        getLogger().error("");
        getLogger().error("Possible causes of 403 Forbidden:");

After Change


        afterUpload(stagingRepository);
      }
      catch (NexusClientNotFoundException e) {
        afterUploadFailure(zappedStagingRepositories, e);
        getLogger().error("Remote staging finished with a failure: " + e.getMessage());
        getLogger().error("");
        getLogger().error("Possible causes of 404 Not Found error:");